package com.ssky.bean.validator.core.rule;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

import java.util.List;

@XStreamAlias("validators")
public class ValidatorRules {

    @XStreamImplicit(itemFieldName = "validator")
    private List<ValidatorRule> validatorRuleList;

    private String identifier;


    public List<ValidatorRule> getValidatorRuleList() {
        return validatorRuleList;
    }

    public void setValidatorRuleList(List<ValidatorRule> validatorRuleList) {
        this.validatorRuleList = validatorRuleList;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

}
